package com.dj.ms.annotation;

import com.dj.ms.aop.CentralControllerExceptionAdvice;
import com.dj.ms.aop.CustomIdGenerator;
import com.dj.ms.aop.DeJiMicroServiceAspect;
import com.dj.ms.configure.SpringWebMvcConfigurer;
import com.dj.ms.configure.ElasticSearchRestHealthConfiguration;
import com.dj.ms.support.feign.TraceIdFeignInterceptor;
import com.dj.ms.support.log.OperateLogListener;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * <br>
 * <p></p>
 *
 * <br>
 *
 * @author ZJG
 * @version 1.0
 * @date 2021/8/10 下午3:56
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@Import({
        DeJiMicroServiceAspect.class,
        SpringWebMvcConfigurer.class,
        OperateLogListener.class,
        ElasticSearchRestHealthConfiguration.class,
        CentralControllerExceptionAdvice.class,
        CustomIdGenerator.class,
        TraceIdFeignInterceptor.class
})
public @interface EnableDeJiMsAop {
}
